module.exports = {
    outputDir: __dirname + '/../server/web',
    // publicPath: process.env.NODE_ENV === 'production'
    //     ? '/'
    //     : '/'
    pwa: {
        iconPaths: {
            favicon32: 'favicon.ico',
            favicon16: 'favicon.ico',
            appleTouchIcon: 'favicon.ico',
            maskIcon: 'favicon.ico',
            msTileImage: 'favicon.ico'
        }
    },
    configureWebpack: {
        externals: {
            axios: 'axios',
            echarts: 'echarts'
        }
    }
}